<html>
<head><meta charset="utf-8"><title>freevars · t-compiler/wg-rfc-2229 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/189812-t-compiler/wg-rfc-2229/index.html">t-compiler/wg-rfc-2229</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/189812-t-compiler/wg-rfc-2229/topic/freevars.html">freevars</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="160217356"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189812-t-compiler/wg-rfc-2229/topic/freevars/near/160217356" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/189812-t-compiler/wg-rfc-2229/topic/freevars.html#160217356">(Mar 07 2019 at 17:13)</a>:</h4>
<p><span class="user-mention" data-user-id="116773">@csmoe</span> if you collect the users of free vars perhaps into a paper doc or something, we could talk about categorizing them and how to proceed</p>



<a name="160217589"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189812-t-compiler/wg-rfc-2229/topic/freevars/near/160217589" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/189812-t-compiler/wg-rfc-2229/topic/freevars.html#160217589">(Mar 07 2019 at 17:16)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> I'll clloect them into paper doc. But too late now, I'd ping you tomorrow once done.</p>



<a name="160218000"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189812-t-compiler/wg-rfc-2229/topic/freevars/near/160218000" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/189812-t-compiler/wg-rfc-2229/topic/freevars.html#160218000">(Mar 07 2019 at 17:21)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> I'll clloect them into paper doc. But too late now, I'd ping you tomorrow once done.</p>



<a name="160220879"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189812-t-compiler/wg-rfc-2229/topic/freevars/near/160220879" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/189812-t-compiler/wg-rfc-2229/topic/freevars.html#160220879">(Mar 07 2019 at 17:58)</a>:</h4>
<p>great!</p>



<a name="160270609"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189812-t-compiler/wg-rfc-2229/topic/freevars/near/160270609" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> blitzerr <a href="https://rust-lang.github.io/zulip_archive/stream/189812-t-compiler/wg-rfc-2229/topic/freevars.html#160270609">(Mar 08 2019 at 07:57)</a>:</h4>
<p><span class="user-mention" data-user-id="116773">@csmoe</span>  I have put together a few lines in this <a href="https://paper.dropbox.com/doc/Understanding-the-rustc-closure-internals--AY52a3e5Dm93CHmtcI2CYlDGAg-QY7CKUEOPTdC29h0k7AzJ" target="_blank" title="https://paper.dropbox.com/doc/Understanding-the-rustc-closure-internals--AY52a3e5Dm93CHmtcI2CYlDGAg-QY7CKUEOPTdC29h0k7AzJ">doc</a>. These are basically the transcripts from the first closure overview that <span class="user-mention" data-user-id="116009">@nikomatsakis</span>  gave us. For a link to all look <a href="https://www.youtube.com/playlist?list=PL85XCvVPmGQh__bxYIxaVifbIOajnrNcQ" target="_blank" title="https://www.youtube.com/playlist?list=PL85XCvVPmGQh__bxYIxaVifbIOajnrNcQ">here</a>. As you are ramping up on closures implementations, would you mind editing the doc and adding more topics and depth to it and editing the lines that you find unclear. I will do the same. The idea is as we are uncovering the closure implementations for ourselves, we put it all in the paper doc. It will grow up to be a great overview for us and then we can add it as a section in the <a href="https://github.com/rust-lang/rustc-guide" target="_blank" title="https://github.com/rust-lang/rustc-guide">rustc-guide</a> and help transfer the knowledge. <br>
I am suggesting paper doc rather than PR on the rustc-guide as it is much more agile to collaborate iterate on a paper doc. <br>
Let me know what you think about this.</p>



<a name="160280600"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189812-t-compiler/wg-rfc-2229/topic/freevars/near/160280600" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/189812-t-compiler/wg-rfc-2229/topic/freevars.html#160280600">(Mar 08 2019 at 11:01)</a>:</h4>
<p><span class="user-mention" data-user-id="128294">@blitzerr</span> </p>
<blockquote>
<p>It will grow up to be a great overview for us and then we can add it as a section in the rustc-guide and help transfer the knowledge. </p>
</blockquote>
<p>I'm with you <span aria-label="big smile" class="emoji emoji-1f604" role="img" title="big smile">:big_smile:</span> </p>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> with_freevars caller listed</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>